home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 007a / mailman1.zip / README.DOC < prev    next >
Text File  |  1991-11-18  |  18KB  |  438 lines

  1. LIGHTNING LETTERS DOCUMENTATION  NOVEMBER 18, 1991
  2. -------------------------------------------------------------------------------
  3. -  NOTICE: November 18, 1991 This is a new release which will now be          -
  4. -                            compatible with any version of DOS.              -
  5.                              It also uses new editor for change letter        -
  6. -                            function with on-line help and improved DOS call.-
  7. --------------------------------------------------------------------------------
  8. --------------------------------------------------------------------------------
  9. -  This issue has enhanced documentation regarding alternate methods of        -
  10. -  startup and problem resolution.                                             -
  11. --------------------------------------------------------------------------------
  12. Lightning Letters is primarily designed to send form
  13. letters with the appearance of a typed letter.  It may
  14. serve other useful functions such as printing mailing
  15. labels and record keeping.
  16.  
  17. Method of operation:
  18.  
  19. To run this program type "GO" at the DOS prompt.
  20. If it does not display the main menu, look ahead to documentation on
  21. system design and problem solving.
  22.  
  23. The install program is useful only if you wish to put
  24. this program on another system.  In that case, if all
  25. files are on a diskette, "install" will create a directory
  26. "\llmail10" on drive C: copy all files there and start
  27. the program.
  28.  
  29. A sample form letter with file id of mailing.cbl is included.
  30. You should create your own letter before serious use.
  31. The quick thing to do is to use the change-letter function
  32. on the main menu to start an editing session to compose letter.
  33. Instructions for using the editor are then displayed.
  34. Please do a print screen when instructions are displayed
  35. the first time.
  36.  
  37. With the TE-25 public domain text editor, the change letter
  38. function is less stressful in that help is available through the
  39. F1 key.  See separate documentation for using TE.
  40.  
  41. In making your form letter, note the special lines in
  42. the example.  A line beginning with DAT# tells the
  43. system to write out the date from the computer clock and
  44. insert it in alignment with the preceding line.  A line
  45. beginning with ADD# tells the system to insert your
  46. current addresses at this point and space after.  A line
  47. beginning with SAL# tells the system to create a
  48. greeting based on the last name found in line # 1 of the
  49. current address record.  Depending upon how you input
  50. was coded, this line can be; Gentlemen:, Dear Mr. xxx,
  51. Dear Miss xxx, Dear Ms. xxx, or Dear Mrs. xxx.
  52.  
  53. When you are satisfied with the contents of your letter,
  54. proceed to enter your current addresses using the Input
  55. choice from the main menu. The screens for this function
  56. seem self-explanatory.  Be sure to code the  salutation
  57. type correctly using keys 1, 2, 3, 4, or 5.  If there are
  58. in your address entries they can be checked and changed by
  59. useing the browse/edit function on the main menu.  This
  60. will scroll addresses.  If you enter the displayed
  61. numeric code for an address record, the complete address
  62. will reappear, allowing you to change any or all lines,
  63. or the greeting code value.
  64.  
  65. When you are satisfied with address entries, proceed to
  66. set up your computer printer and use the print letters
  67. function.
  68.  
  69. As printers sometimes jamb up, this function provides
  70. for restart from a specified point in your list of
  71. addresses.
  72.  
  73. When letters are printed you will want to print mailing
  74. labels.  The printer should be set up with 3.5" by
  75. 15/16" labels, one across. (Other label options may be
  76. available in future enhancements).  This function allows
  77. the option of printing two dummy labels repeatedly until
  78. you know the printer is properly aligned on the labels.
  79. Again, the program also allows for a print restart from
  80. any point in your list of addresses.
  81.  
  82. At this point you should have necessary output.  Review
  83. it for accuracy and mail your letters.
  84.  
  85. Now, you will probably want to store the addresses you
  86. used in your history file. Use the Transfer to History
  87. function on main menu.  This makes life easier, as an
  88. old address may be recalled from history, based upon a
  89. match of the first address line.  The history file is
  90. also important for record keeping, and can be printed
  91. from the main menu.
  92.  
  93. Should the history file become huge, you have the option
  94. of clearing the entire history file using the Erase
  95. History choice on the main menu.  This is not normally
  96. advisable, and shouldn't be required in a normal
  97. environment.
  98.  
  99. For obvious reasons, you also have the option of running
  100. DOS commands from the program.  Most of us have this
  101. need often to make different versions of the address
  102. file etc.
  103.  
  104. FILES:
  105. There are three modifiable data files in the system.
  106. ADDRE.DAT is the driver for most functions and contains
  107. your current addresses.  It has a size limit of 50
  108. addresses.  If this is too small, contact the
  109. programmer.  File HISTORY.FIL contains the history of
  110. addresses used.  It is a direct access file, the key
  111. being the first address line.  When transferring
  112. addresses to history, any address which has a duplicate
  113. first line in the history file will over write the
  114. similar history record.  File mailing.cbl is the text
  115. form letter you will customize and print.. Again.
  116. remember the the special lines this text contains as
  117. explained above.
  118.  
  119. KILL.BAT:
  120. This bat file should not be needed.  What it does is to
  121. remove the screen handler from memory.  The screen handler,
  122. VIDPOP, will not normally remain in memory and this situation
  123. only occurs when the program aborts abnormally.  In that case,
  124. kill is executed to clear the handler.  Note- this program
  125. doesn't start up if VIDPOP is in memory from aborted run.
  126.  
  127. HINT! HINT! The address file is a sequential file.  The
  128. end of the current list of addresses is signaled to the
  129. software with ^^^ appearing in the first 3 characters
  130. of the first line of an address record.  If you want to
  131. abbreviate your list of addresses for test purposes,
  132. you can you browse/edit to alter the placement of the
  133. end point, anywhere between 1 and 50.  The data input
  134. function offers the alternative of adding your new
  135. records at the end of present entries or eliminating
  136. present entries by over writing them.
  137.  
  138.  
  139.       ===================================================================
  140.       :       L I G H T N I N G  L E T T E R S  M A I N  M E N U        :
  141.       ===================================================================
  142.       :   Help ......................  -  Explains general steps       :
  143.       :   Input Data ................  -  Builds current addresses     :
  144.       :   Browse/Edit Records .......  -  Review or change address     :
  145.       :   Print Letters .............  -  Print form letters or memos  :
  146.       :   Output Labels .............  -  Print mailing labels         :
  147.       :   List Addresses ............  -  Print current addresses      :
  148.       :   Transfer names to History .  -  Add addresses to History     :
  149.       :   Review History File .......  -  Scroll through History       :
  150.       :   Write History to print ....  -  Print a list of History      :
  151.       :   DOS Command ...............  -  Run DOS, then return         :
  152.       :   Erase History .............  -  Erase all history CAUTION!   :
  153.       :   Change Form Letter ........  -  Edit/Modify Mailing.cbl      :
  154.       :   Quit ......................  -  End program, return to DOS   :
  155.       ==================================================================:
  156.       :    Type a letter or move the highlight bar and press Enter      :
  157.       ===================================================================
  158.  
  159.              Shareware Alfred J. Welch $15 Registration fee desired
  160.              ======================================================
  161.                   2248 South 33rd Street, Milwaukee, Wi. 53215
  162.                               phone (414) 383-9908
  163.  
  164.  
  165. SYSTEM DESIGN
  166. This program is more a product of evolution than plan.  It is therefore,
  167. hybred and uses some C modules, COBOL programming and purchased utilities.
  168. There must be inter-program communications between VIDPOP, and RUN.EXE.
  169. Most other files included play a vital role and must be kept in the same
  170. directory.
  171.  
  172.  
  173.  
  174.  Directory of  C:\TEST
  175.  
  176. .            <DIR>     11-10-91  10:09a
  177. ..           <DIR>     11-10-91  10:09a
  178. README   DOC    Documentation
  179. RUN      EXE    COBOL
  180. MAILING  CBL    Form letter, ASCII text
  181. VIDPOP   COM    Screen Handler
  182. WORKFILE OBJ    COBOL compiled application
  183. INSTALL  EXE    Install (Drive A to Drive C only)
  184. GO       EXE    This is the startup command file
  185. MAILLIB  LIB    Library of screen images
  186. HISTORY  FIL    History data file with previouly used addresses
  187. HISNDX   NDX    File of index keys to HISTORY.FIL
  188. HISSAV   SAV    .SAV files are empty backups for clearing history
  189. NDXSAV   SAV    "" ""
  190. ADDRE    DAT    This data file contains your current addresses
  191. GOTWO    EXE    This is an alternative to GO.EXE if GO doesn't work
  192. KILL     BAT    BAT command kill removes VIDPOP, if VIDPOP left active
  193. TE       DOC    The following are the TEX editor files, downloaded
  194. TE       EXE        as a public domain product.
  195. TEG      HLP
  196. TEMOD    EXE
  197. TEREAD   1ST
  198. PKUNZIP  EXE    A utility from PKWARE, needed for install process.
  199.        21 File(s)   5199872 bytes free
  200.  
  201.  
  202.  
  203.  
  204. NOTE: TE.EXE is a public domain editor, information as to it's source is
  205.       displayed upon entering change-letter function.
  206.       ALSO: read te.doc.
  207.  
  208.  
  209. ***********************************************************************
  210. *     Some cautions about ISAM access method --                       *
  211. ***********************************************************************
  212.  
  213. The initial version of this program used a file handler for indexed files
  214. which worked well with DOS 3.2, but not other versions.  Therfore, the
  215. direct access to the history file now is accomplished with ISAM methods
  216. written in COBOL.  This should allow almost instantaneous direct access
  217. respose on a 386 machine, regardless of the number of records in the
  218. history file.  There are trade-offs that have to be made in designing
  219. any ISAM data base.  This design will never require more than 2 or 3
  220. i-O operatins to retrieve a record from the history file.  However, each
  221. record stored is located according to the first letter of the address line.
  222. As there are 122 buckets for each letter of the alphabet, therefore, if
  223. more than 122 addresses begin with the letter "A", the additional keys
  224. will be forced into the overflow record 27 along with records beginning
  225. with special characters.  It should be noted that the direct access is
  226. performed only at data-input time and in the transfer to history function.
  227.  
  228.  
  229.            CAVEATS:
  230.  
  231.           I.   The history file and its index file must remain
  232.                a matched set.  If index file HISNDX.NDX is changed
  233.                outside of normal operations, access to HISTORY.FIL
  234.                will fail. All the kings men wont be able to fix it.
  235.  
  236.           II.  Your ISAM system can become corrupted by losing or
  237.                otherwise getting the history and index out of sync.
  238.                If this happens, addresses in your history file will
  239.                be lost so backing up a good dad-base is advisable.
  240.  
  241.           III. ISAM systems are moderately complex.  There is always
  242.                a possibility of some logic omission in programming.
  243.                If your run halts, displaying strange messages on the
  244.                console, print the screen, dump your files and contact
  245.                the author.
  246.  
  247.           IV.  The limitation of file size has been mentioned.  The
  248.                theoretical history file limit is 3294 records.  In
  249.                practicality, most users would experience problems
  250.                if about 2000 randomly chosen address names are
  251.                entered.  If you want to use the program commercially
  252.                so that more file size is needed, contact the author
  253.                about a custom design to meet your needs.
  254.  
  255. ******************************************************************************
  256.  
  257.  
  258.  
  259.                        |-------------------|
  260.                        |  GO.EXE           |
  261.                        |  Initiates the run|
  262.                        ---------------------
  263.                                |
  264.                  ---------------------------------
  265.    SCREENS       |        VIDPOP.COM             |
  266.    MAILLIB.LIB-->|        resident utility       |
  267.                  --------------|------------------
  268.                                |
  269.                           -----V------
  270.                           |  RUN.EXE |  COBOL
  271.                           |          |
  272.                           -----|------
  273.     Address List               |           Address History
  274.     ==================    ============     ============================.
  275.     | ADDRE.DAT      |<-->|          |<--->| HISNDX.NDX-- HISTORY.FIL |
  276.     ==================    | WORKFILE.|     ============================
  277.                           | OBJ      |
  278.     Letter Text           |          |
  279.     ==================<-->|          |---->===================
  280.     | MAILING.CBL    |    ============     | Printer Lists   |
  281.     ==================         |           ===================
  282.                                |
  283.                                V
  284.                 ---------------------------------
  285.                 |                               |
  286.                 V                               V
  287.   =============================              =============================
  288.   | Printed mailing labels    |              | Multiple Printed Letters  |
  289.   =============================              =============================
  290.  
  291. EXAMPLE:
  292.  Input text file--
  293. _______________________________________________________________________________-
  294.  
  295.                                     1225 Easy Sreet
  296.                                     Milwaukee, Wisconsin 53215
  297. DAT#
  298.  
  299.  
  300.  
  301.  
  302. ADD#
  303. SAL#
  304.  
  305. As of December 15, 1991, I am moving to Hollywood California.  I do
  306. plan to keep in touch with all my friends and associates.  My new address
  307. is listed below.
  308.  
  309.               1771 El Ceritto
  310.               Hollywood, California 87632
  311.  
  312.  
  313. The new phone number will be announced later.
  314.  
  315.  
  316.  
  317.  
  318.                                     Sincerely,
  319.  
  320.  
  321.  
  322.                                     Cheryl Tiegs
  323.  
  324.  
  325.  
  326. ________________________________________________________________________________
  327. Printer Output adjusted to-  ___________________________________________________
  328.  
  329.  
  330.                                     1225 Easy Sreet
  331.                                     Milwaukee, Wisconsin 53215
  332.                                     November 13, 1991
  333.  
  334.  
  335.  
  336.  
  337. Donald Trump
  338. 1771 7th Avenue
  339. Suite 213
  340. New York, New York 12398
  341.  
  342.  
  343.  
  344. Dear Mr. Trump:
  345.  
  346. As of December 15, 1991, I am moving to Hollywood California.  I do
  347. plan to keep in touch with all my friends and associates.  My new address
  348. is listed below.
  349.  
  350.               1771 El Ceritto
  351.               Hollywood, California 87632
  352.  
  353.  
  354. The new phone number will be announced later.
  355.  
  356.  
  357.  
  358.  
  359.                                     Sincerely,
  360.  
  361.  
  362.  
  363.                                     Cheryl Tiegs
  364.  
  365. ________________________________________________________________________________
  366.  
  367.  
  368.  
  369.  
  370. PROBLEMS:
  371.  
  372. This program has been extensively tested, however, its complexity may
  373. present problems in some installations.
  374.  
  375. 1. If system fails to start up properly, problem probably involves
  376.    communication between VIDPOP and RUN.EXE.  The makers of VIDPOP
  377.    say- "for the child process method... to work, COMMAND.COM must
  378.    be available on the drive the system was booted from.  This is not
  379.    normally a problem on hard disk systems, but floppy disk users
  380.    take note.  If the boot disk is not available it is possible to
  381.    change where DOS will look for COMMAND.COM when it is needed by
  382.    modifying the environment variable called COMSPEC.  You can change
  383.    it at the DOS prompt or via a batch file with the DOS command:
  384.  
  385.          SET COMSPEC=<path to COMMAND.COM>
  386.   ex:    SET COMSPEC=C:\DOS\COMMAND.COM
  387.  
  388.    If your program fails to start properly you  can implement the above
  389.    change OR another option is to start the program using "GOTWO.EXE"
  390.    rather than "GO.EXE".  The difference is that GOTWO does not use the
  391.    sometimes problematic child process, but is not as clean as GO.EXE.
  392.  
  393. 2. Once started the program hopefully will not fail.  Inexperienced users
  394.    might create problems for themselves in running DOS commands from the
  395.    menu, however.  If DOS commands are used to change drives, change the
  396.    current directory, rename or delete system files the system can crash.
  397.  
  398. 4. Sould the program lock up with the keyboard still operating, the task
  399.    can be aborted with Cntrl-C.  This situation removes the main program
  400.    but leaves VIDPOP in memory.  You would then have to employ KILL.BAT
  401.    to remove VIDPOP prior to next run.
  402.  
  403. 5. Other problems relative to the ISAM feature are explained above and
  404.    will not be repeated here.
  405.  
  406. 6. Please report any problems not explained away to the author.
  407.  
  408.  
  409.  
  410. REGISTRATION- Please register so I can get some feed-back. (Cash too)
  411.  
  412. If you choose to become a registered user, you will be entitled to
  413. one hour of free support to customize your application.  You will also
  414. receive any updated versions.  It is my plan to incorporate the
  415. form letter function into a complete small business package.
  416.  
  417.  
  418. To register send:
  419.  
  420.      name-
  421.      address-
  422.      city-
  423.      state-
  424.      zip-
  425.      phone-
  426.      bulletin board id (optional)-
  427.      fee- $15.00
  428.  
  429. Alfred J. Welch
  430. 2248 S. 33rd Street
  431. Milwaukee, Wisconsin 53215
  432.  
  433.  
  434. The author greatly appreciates your comments and
  435. suggestions...
  436.  
  437. *** Also open to contract programming, any popular language.
  438.